﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ZhiAo.Entities
{
    public class FieldItem
    {
        private string _ColumnName = "";
        private string _DataType = "";
        private int _Len = 0;
        private string _Comments = "";
        private bool _Key = false;
        private bool _NullAble = false;
        private string _TableName = "";

        public string ColumnName
        {
            get { return _ColumnName; }
            set { _ColumnName = value; }
        }
        public string DataType
        {
            get { return _DataType; }
            set { _DataType = value; }
        }
        public int Len
        {
            get { return _Len; }
            set { _Len = value; }
        }
        public string Comments
        {
            get { return _Comments; }
            set { _Comments = value; }
        }
        public bool Key
        {
            get { return _Key; }
            set { _Key = value; }
        }
        public bool NullAble
        {
            get { return _NullAble; }
            set { _NullAble = value; }
        }

        public string TableName
        {
            get { return _TableName; }
            set { _TableName = value; }
        }
    }
}
